<template>
  <CommonLayout :menu-data="list"></CommonLayout>
</template>

<script setup lang="ts">
import CommonLayout from '@/components/common-layout/CommonLayout.vue';
import { MenuDataType } from '@/types/common.type';

const list: MenuDataType[] = [
  {
    name: '计算机基础',
    key: 'interview-computer',
    path: '/interview/computer',
    icon: 'icon-home',
  },
  {
    name: 'vue2',
    key: 'interview-vue2',
    path: '/interview/vue2',
    icon: 'icon-home',
  },
  {
    name: 'JavaScript',
    key: 'interview-js',
    path: '/interview/js',
    icon: 'icon-home',
  },
  {
    name: 'TypeScript',
    key: 'interview-ts',
    path: '/interview/ts',
    icon: 'icon-home',
  },
  {
    name: 'HTML、CSS',
    key: 'interview-css',
    path: '/interview/css',
    icon: 'icon-home',
  },
  {
    name: 'Webpack',
    key: 'interview-webpack',
    path: '/interview/webpack',
    icon: 'icon-home',
  },
];
</script>

<style scoped lang="less"></style>
